import Vue from 'vue'
import App from './App'
// import FastClick from 'fastclick'
import {get, post} from './utils/ajax'
import router from './router'
import './plugin/vux'
import * as filters from './utils/utils'
import 'mescroll.js/mescroll.min.css'

// FastClick.attach(document.body)
Vue.config.productionTip = false
Vue.prototype.$get = get
Vue.prototype.$post = post

Object.keys(filters).forEach(name => {
  Vue.filter(name, filters[name])
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app-box')
